package db;

import java.util.ArrayList;

import model.Reservation;

public interface IFDBReservation
{
	/* SELECT */
	public ArrayList<Reservation> getAll();
	public ArrayList<Reservation> getByApartmentId(int apartmentId);
	public ArrayList<Reservation> getByApartmentType(int apartmentTypeId);
	public Reservation getById(int id);

	//public ArrayList<Reservation> getByName(String name);

	/* INSERT */
	public int insertScope(Reservation item);

	/* UPDATE */
	public void update(Reservation item);

	/* DELETE */
	public void delete(Reservation item);
	public void deleteByRenter(int renterId);

}
